package com.xungou.goodtype.service;

import com.xungou.core.mvc.IService;
import com.xungou.goodtype.pojo.GoodType;
import com.xungou.user.pojo.User;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface IGoodTypeService extends IService<GoodType> {

    int insert(GoodType record, @RequestParam Map<String, String> params);

    int delete(Integer id);

    List<Map<String,Object>> getTypeTree();

    List<Map<String,Object>> getGoodTypeList(Map<String, String> params);
}